<div class="list">
   <a ng-repeat="x in receiveMessages" class="item" href="" ng-click="openModal('{{x.id}}','{{x.title}}','receive')" ng-show="activeTab=='ReceiveMessageList'">
     {{x.title}}
     <p>{{x.createTime}}</p>
   </a>
   <a ng-repeat="x in sendMessages" class="item" href="" ng-click="openModal('{{x.id}}','{{x.title}}','send')" ng-show="activeTab=='SendMessageList'">
     {{x.title}}
     <p>{{x.createTime}}</p>
   </a>   
</div>
